/*
 * @Author: leevan
 * @Date: 2022-02-11 14:47:06
 * @LastEditTime: 2022-02-11 14:47:24
 * @LastEditors: leevan
 * @FilePath: /usermanagecenter/src/service/user.service/path.js
 */

import {
    URL
} from '../config';

//获取组织下的用户列表
export const userList_path = () => URL + `/uc/ums/page`;
//新增用户
export const addUser_path = () => URL + `/uc/ums`;
//注册
export const register_path = () => URL + `/uc/noAuth/register`;
//退出登录
export const logout_path = () => URL + `/uc/ums/logout`;
//删除用户
export const delUser_path = (userId) => URL + `/uc/ums/${userId}`;
//获取用户详情
export const getUserDetail_path = (userId) => URL + `/uc/ums/detail/${userId}`;
//低权限用户 获取用户详情
export const getLoginUserDetail_path = (userId) => URL + `/uc/ums/getLoginUserInfo`;
//获取用户关联角色列表
export const getUseRoleList_path = (userId) => URL + `/uc/ums/getUmsRole/${userId}`;
//用户启用
export const enableUser_path = (userId) => URL + `/uc/ums/enable/${userId}`;
//用户停用
export const disabledUser_path = (userId) => URL + `/uc/ums/disabled/${userId}`;
//用户重置密码
export const resetPwd_path = () => URL + `/uc/ums/resetPwd`;
//已授权用户列表
export const userPaging_path = () => URL + `/uc/ums/auth/userPaging`;
//审批用户
export const approvalUser_path = () => URL + `/uc/ums/approval`;
//修改登录用户的个人信息
export const updateLoginUser_path = ()=> URL + `/uc/ums/modify`;
//修改登录密码
export const updateUserPwd_path = ()=> URL + `/uc/ums/modifyPwd`;
